//
//  ECCustomSectionTapView.h
//  ERPChargeAccount2
//
//  Created by 刘思麟 on 2018/7/10.
//  Copyright © 2018年 历山大亚. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ECCustomSectionTapViewDelegate <NSObject>

- (void)selectedAtIndex:(NSInteger)index;

@end
//typedef NS_ENUM(NSUInteger, ECSortDirection) {
//    ECSortDirectionV, //纵向(default)
//    ECSortDirectionH, //横向
//};

/**
 索引视图
 */
@interface ECCustomSectionTapView : UIView

@property (nonatomic,assign) CGFloat fontSize;

@property (nonatomic,assign) CGFloat charSplit;

@property (nonatomic,strong) NSArray<NSString*> * titles;

@property (nonatomic,weak) id<ECCustomSectionTapViewDelegate> delegate;

//@property (nonatomic,assign) ECSortDirection sortDirection;

@end
